home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-07-15 | 1.2 KB | 46 lines |
- # if use qmake remove these two macros.
- COMPILER_PATH = c:\djgpp\bin
- HOME = c:\dvx
-
- CFLAGS= -O -c -D MSDOS
-
- .c.o:
- gcc $(CFLAGS) $<
-
- L = -lsys -lc -lm
-
-
- all : udaemon.exe tdaemon.exe uclient.exe tclient.exe
- rem If $(HOME) is not the location of DESQview/X or if $(COMPILER_PATH) is not
- rem the location of DJGPP you will have edit this makefile. Also if
- rem $(COMPILER_PATH) is not the location of DJGPP you will alter
- rem tcptestd.dvp and udptedtd.dvp.
- copy services $(HOME)\network
-
- tdaemon.exe : tdaemon.o
- gcc -o tdaemon tdaemon.o $(L)
- strip tdaemon
- copy $(COMPILER_PATH)\go32.exe /b+ tdaemon /b tdaemon.exe /b
- copy tcptestd.dvp $(HOME)\network
- del tdaemon
-
- udaemon.exe : udaemon.o
- gcc -o udaemon udaemon.o $(L)
- strip udaemon
- copy $(COMPILER_PATH)\go32.exe /b+ udaemon /b udaemon.exe /b
- copy udptestd.dvp $(HOME)\network
- del udaemon
-
- tclient.exe : tclient.o
- gcc -o tclient tclient.o $(L)
- strip tclient
- copy $(COMPILER_PATH)\go32.exe /b+ tclient /b tclient.exe /b
- del tclient
-
- uclient.exe : uclient.o
- gcc -o uclient uclient.o $(L)
- strip uclient
- copy $(COMPILER_PATH)\go32.exe /b+ uclient /b uclient.exe /b
- del uclient
-